package com.qf.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @ClassName SpringConfig
 * @Description TODO
 * @Author 86181
 * @Date 2022/8/30 21:12
 * @Version 1.0
 **/
@Configuration//指定当前类是一个配置类 当配置类作为AnnotationConfigApplicationContext
//对象创建参数时,该注解可以不写
@ComponentScan(basePackages = "com.qf")
@Import({JdbcConfig.class})  //value值为数组可以有多个值
public class SpringConfig {
}
